package com.gopay.common.domain.approval;

import java.util.List;

import com.gopay.common.domain.BaseEntity;

/**
 * 流程审批对象
 * 
 * @Approval.java
 * @author yaobo
 * @2013-1-16 上午11:11:18 www.gopay.com.cn Inc.All rights reserved.
 */
public class Approval extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 743103368960152406L;

    /**
     * 审批任务编号
     */
    private int taskId;

    /**
     * 审批任务名称
     */
    private String approvalName;

    /**
     * 审批流程编号
     */
    private int approvalId;

    /**
     * 审批是否结束
     */
    private boolean done;

    /**
     * 审批版本号
     */
    private int version;

    /**
     * 当前审批角色
     */
    private String curRoleName;

    /**
     * 当前审批步骤编号
     */
    private int curStep;

    /**
     * 当前审批步骤
     */
    private String curStepName;

    /**
     * 当前审批决定
     */
    private int curDesicion;

    /**
     * 发起人
     */
    private String start;

    /**
     * 审批历史明细
     */
    private List<History> histories;

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public int getApprovalId() {
        return approvalId;
    }

    public void setApprovalId(int approvalId) {
        this.approvalId = approvalId;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public List<History> getHistories() {
        return histories;
    }

    public void setHistories(List<History> histories) {
        this.histories = histories;
    }

    public String getApprovalName() {
        return approvalName;
    }

    public void setApprovalName(String approvalName) {
        this.approvalName = approvalName;
    }

    public String getCurRoleName() {
        return curRoleName;
    }

    public void setCurRoleName(String curRoleName) {
        this.curRoleName = curRoleName;
    }

    public String getCurStepName() {
        return curStepName;
    }

    public void setCurStepName(String curStepName) {
        this.curStepName = curStepName;
    }

    public int getCurStep() {
        return curStep;
    }

    public void setCurStep(int curStep) {
        this.curStep = curStep;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public int getCurDesicion() {
        return curDesicion;
    }

    public void setCurDesicion(int curDesicion) {
        this.curDesicion = curDesicion;
    }

}
